package com.hsy.crm.web.domain.entity;

import com.hsy.crm.web.domain.cm.Validate;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "t_fin_trans_order_detail")
public class FinTransOrderDetail extends BaseEntity {

    @Column(length = 20)
    private Long finTransOrderId;

    @Column(length = 20)
    private Long inAccountId;

    @Column(length = 20)
    private Long outAccountId;

    @Validate
    @Column(length = 20)
    private Long price;

    @Validate
    @Column(length = 30)
    private String remarks;

    public Long getFinTransOrderId() {
        return finTransOrderId;
    }

    public void setFinTransOrderId(Long finTransOrderId) {
        this.finTransOrderId = finTransOrderId;
    }

    public Long getInAccountId() {
        return inAccountId;
    }

    public void setInAccountId(Long inAccountId) {
        this.inAccountId = inAccountId;
    }

    public Long getOutAccountId() {
        return outAccountId;
    }

    public void setOutAccountId(Long outAccountId) {
        this.outAccountId = outAccountId;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
